var verify_price_1000_decimal = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_price_1000_decimal"}');
if (!isNull(retail_tax)) {
    if (func_be_weight_item(fixed_weight, scalable_flag)) {
        if (parseFloat(retail_tax / 2) >= 1000 && func_count_decimals(parseFloat(retail_tax / 2)) > 0) {
            verify_price_1000_decimal.CODE = 2;
            verify_price_1000_decimal.ACTION = 'risk';
            verify_price_1000_decimal.MSG = '1000以上价格不允许有小数';
        }
    } else {
        if (parseFloat(retail_tax) >= 1000 && func_count_decimals(parseFloat(retail_tax)) > 0) {
            verify_price_1000_decimal.CODE = 2;
            verify_price_1000_decimal.ACTION = 'risk';
            verify_price_1000_decimal.MSG = '1000以上价格不允许有小数';
        }
    }
}

JSON.stringify(verify_price_1000_decimal);